Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_load_remote_dataset: Add the 'kind' attribute to explicitly specify if data is a grid or image #3688

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

seisman
Copy link
Member

@seisman seisman commented Dec 13, 2024

Description of proposed changes

For remote datasets, we need to know if it's a grid or an image. Currently, we do below:

kind = "image" if name in {"earth_day", "earth_night"} else "grid"

So, kind defaults to grid but is set to image for two special datasets.

This PR adds the kind attribute to explicitly specify if data is a grid or an image.

Let me know if you're OK with the changes.

@seisman seisman added the discussions Need more discussion before taking further actions label Dec 13, 2024
@seisman seisman added this to the 0.14.0 milestone Dec 16, 2024
@seisman seisman added maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review. and removed discussions Need more discussion before taking further actions labels Dec 16, 2024
@seisman seisman marked this pull request as ready for review December 16, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant